package com.itheima.health.service;

import com.itheima.health.pojo.Member;
import com.itheima.health.vo.OrderSubmitParam;

import java.time.LocalDateTime;
import java.util.List;


/**
 * 会员Service
 */
public interface MemberService {

    void add(OrderSubmitParam orderSubmitParam,LocalDateTime now);

    Member selectByPhoneNumber(String telephone);

    List<Integer> findMemberCountByMonths(List<String> months);

    Member createOrUpdate(Member member);
    Member findById(Integer id);
}
